package com.eshop.domain;

import org.hibernate.annotations.Entity;

import javax.persistence.Id;
import java.io.Serializable;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: Sergey
 * Date: 25.10.13
 * Time: 20:34
 * To change this template use File | Settings | File Templates.
 */
public class Product implements Serializable {
    private long id;
    private String name;
    private float price;
    private Category category;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }
}
